/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.order.dependencies.questionInfo;



import com.yiqi.liebang.feature.order.contract.OrderContract;
import com.yiqi.liebang.feature.order.contract.QuestionInfoContract;
import com.yiqi.liebang.feature.order.presenter.OrderPresenter;
import com.yiqi.liebang.feature.order.presenter.QuestionInfoPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class QuestionInfoPresenterModule {
    private final QuestionInfoContract.View mView;

    public QuestionInfoPresenterModule(QuestionInfoContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public QuestionInfoContract.Presenter provideQuestionInfoPresenter(){
        return  new QuestionInfoPresenter(mView);
    }

}
